package com.pktechan.api.service;

import com.pktechan.api.base.BaseService;
import com.pktechan.api.entity.MsgCode;

public interface MsgCodeService extends BaseService<MsgCode> {
    /**
     * 发送手机验证码
     *
     * @param mobile
     * @return
     */
    MsgCode sendMessageCode(String mobile);

    /**
     * 更改手机验证码状态
     *
     * @param mobile
     * @return
     */
    void updateMessageCode(String mobile,String code);
}
